package com.ynet.middleground.riskmanage.bean.hangxin;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * @author songyf
 * @description 获取开票结果参数信息
 * @date 2021-11-05 16:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "CommonNode", description = "CommonNode")
public class CommonNode{

    private static final long serialVersionUID = -1421055978662867958L;

    @ApiModelProperty(value = "推送方式名称,NAME 值为“ SJ”为手机推送NAME 值为“ EMAIL”为 email推送", notes = "推送方式名称,NAME 值为“ SJ”为手机推送NAME 值为“ EMAIL”为 email推送")
    @XStreamAlias("NAME")
    private String name;

    @ApiModelProperty(value = "推送方式值,NAME 为 SJ 时长度 20,NAME 为 EMAIL 时长度为 50", notes = "推送方式值,NAME 为 SJ 时长度 20,NAME 为 EMAIL 时长度为 50")
    @XStreamAlias("VALUE")
    private String value;
}
